DeepSeek Harness Plugin: dsh-balance-monitor

`dsh-balance-monitor` is a DSH community plugin developed by Rainronin, designed to integrate account balance, peak-valley pricing status, and session cost information from the DeepSeek API. The plugin provides snapshots of the official `/user/balance` interface, an in-session query tool named `ds_balance` (supporting forced cache bypass), display of peak-valley pricing status based on Beijing time, and single-session cost estimation. It features a native-style sidebar badge supporting CNY/USD multi-currency display, defaults to automatic polling every 30 seconds, and uses green/yellow status lights to indicate normal connection or degraded status. By reusing `DEEPSEEK_API_KEY`, the plugin employs a 30-second TTL cache, serial request handling, and a 5-second timeout strategy to ensure security and stability. Users can access the plugin via `dsh`

Read More